package com.eraasoftware.npa.server;

import java.util.NoSuchElementException;

public interface ServiceListenerPool {

	public ServiceListener getService() throws NoSuchElementException, IllegalStateException, InterruptedException;

	public void returnObject(ServiceListener service);

	public void destroy(ServiceListener service);

	public int needClients();

	public void addNewService(ServiceListener serviceListener) throws Exception;

	public int availableServices();

}
